Automattic\WooCommerce\GoogleListingsAndAds\Product\Attributes\AttributeManager S

Total Complexity 38
Dependencies 8
Dependents 8
Total lines 353
Lines of code 145
Logical lines of code 82
Comment lines 122
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
get_all_aggregated_values()
S
50 5 29
update()
S
60 4 13
get()
S
61 4 12
map_attribute_types()
S
60 3 13
get_all()
S
64 3 10
get_all_values()
S
64 3 10
get_available_attribute_ids()
S
64 3 10
validate()
S
62 2 11
get_value()
S
74 2 4
get_attribute_types_for_product_types()
S
65 2 9
get_attribute_types_map()
S
72 2 6
__construct()
S
77 1 4
delete()
S
73 1 5
exists()
S
80 1 3
get_attribute_types_for_product()
S
80 1 3
get_available_attribute_types()
S
79 1 3